﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows;
using System.Windows.Shapes;

namespace TetrisSpielwiese
{
    static class BlockShapes2D
    {
        public static PointCollection BlockRectangle = new PointCollection() 
        { 
            new Point(1 * GameUnits2D.Width, 1 * GameUnits2D.Height),
            new Point(1 * GameUnits2D.Width, 2 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 2 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 1 * GameUnits2D.Height)
        };

        public static PointCollection BlockShortI = new PointCollection()
        {
            new Point(1 * GameUnits2D.Width, 1 * GameUnits2D.Height),
            new Point(1 * GameUnits2D.Width, 3 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 3 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 1 * GameUnits2D.Height)
        };

        public static PointCollection BlockLongI = new PointCollection()
        {
            new Point(1 * GameUnits2D.Width, 1 * GameUnits2D.Height),
            new Point(1 * GameUnits2D.Width, 4 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 4 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 1 * GameUnits2D.Height)
        };

        public static PointCollection BlockAngle = new PointCollection() 
        { 
            new Point(1 * GameUnits2D.Width, 1 * GameUnits2D.Height),
            new Point(3 * GameUnits2D.Width, 1 * GameUnits2D.Height),
            new Point(3 * GameUnits2D.Width, 3 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 3 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 2 * GameUnits2D.Height),
            new Point(1 * GameUnits2D.Width, 2 * GameUnits2D.Height)
        };

        public static PointCollection BlockL = new PointCollection() 
        { 
            new Point(1 * GameUnits2D.Width, 1 * GameUnits2D.Height),
            new Point(3 * GameUnits2D.Width, 1 * GameUnits2D.Height),
            new Point(3 * GameUnits2D.Width, 4 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 4 * GameUnits2D.Height),
            new Point(2 * GameUnits2D.Width, 2 * GameUnits2D.Height),
            new Point(1 * GameUnits2D.Width, 2 * GameUnits2D.Height)
        };
    }
}
